package com.lagou.model;

public class QuestionMessage implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String type; // 用于描述业务的类型
	private Question qm;     // 用于描述账户信息
	
	public QuestionMessage() {
		super();
	}
	public QuestionMessage(String type, Question qm) {
		super();
		setType(type);
		setQm(qm);
	}
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Question getQm() {
		return qm;
	}
	public void setQm(Question qm) {
		this.qm = qm;
	}
	
	@Override
	public String toString() {
		return "UserMessage [type=" + type + ", qm=" + qm + "]";
	}
}
